<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta charset="UTF-8">
<title>TestJS</title>
<meta name="viewport" content="width=device-width,initial-scale=1.0, maximum-scale = 1.0,user-scalable=no" />
<meta name="format-detection" content="telephone=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
</head>
<body>
<div class="container" id="container">
	<div class="header">
		<h1 id="title"></h1>
        <button onclick="didButtonPayClicked()">wxPay</button>
	</div>
</div>
<script>
                        
function didButtonPayClicked() {
    var  data={'order_sn':'195182345319','need_pay':'1'};
    Tapp.wxpay(JSON.stringify(data));
    //Tapp.wxpay(data);
}

function tapp_pay_back(){
	//alert("wxPay is finished")
}
</script>
</body>
</html>
